//
//  OosServiceCallback.h
//  Oos4ios
//
//  Created by Pablo Gonzalez on 2/24/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <oos4ios/Parsers/IOosFeedParser.h>
#import <oos4ios/Parsers/IOosCategoryParser.h>
#import <oos4ios/Parsers/IOosEntryParser.h>
#import "../GData/Common/Optional/Introspection/GDataAtomCategoryGroup.h"

@protocol IOosAtomServiceCallback <NSObject>

- (void) receivedFeed: (OosFeed *) feed;
- (void) receivedEntry: (OosEntry *) entry;
- (void) problemWithFetch: (NSError *) error;
- (void) receivedCategoryGroup:(GDataAtomCategoryGroup *)categotyGroup;

@property (nonatomic, retain) id<IOosFeedParser> feedParser;
@property (nonatomic, retain) id<IOosCategoryParser> categoryParser;
@property (nonatomic, retain) id<IOosEntryParser> entryParser;

@optional
- (void) receivedCorrect;

@end
